package raceReservationServer.saxParser;

import java.util.ArrayList;
import java.util.List;

// One Gateway Object per gateway in the XML file
// For the 2nd assignment

public class GatewayObject 
{
	private String technology;
	private String serviceName;
	private List<String> details = new ArrayList<String>();
	
	
	public GatewayObject()
	{
		super();
	}
	public GatewayObject(String technology, String serviceName,
			List<String> details) {
		super();
		this.technology = technology;
		this.serviceName = serviceName;
		this.details = details;
	}
	public String getTechnology() {
		return technology;
	}
	public void setTechnology(String technology) {
		this.technology = technology;
	}
	public String getServiceName() {
		return serviceName;
	}
	public void setServiceName(String serviceName) {
		this.serviceName = serviceName;
	}
	public List<String> getDetails() {
		return details;
	}
	public void setDetails(String detail) {
		this.details.add(detail);
	}
	
	
	
	
}
